package com.yunxi.finance.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.finance.pojo.RebateCommissionQueryReqVO;
import com.yunxi.finance.pojo.RebateCommissionQueryRespVO;
import com.yunxi.finance.pojo.RebateCommissionUpdateReqVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 固定返利表 服务类
 * </p>
 *
 * @author 
 * @since 2019-09-16
 */
public interface RebateCommissionDubboService {

    RebateCommissionQueryRespVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(RebateCommissionQueryReqVO rebateCommissionVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<RebateCommissionQueryRespVO> findPageByVO(RebateCommissionQueryReqVO rebateCommissionVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<RebateCommissionQueryReqVO> rebateCommissionVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List listByVo(RebateCommissionQueryReqVO rebateCommissionVO);

    void updateBatch(RebateCommissionUpdateReqVO vo);
}
